package com.dotflat.rest.utils;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * 比较字段
 */

@Target(FIELD)
@Retention(RUNTIME)
public @interface RangeField {
    char operator() default '>';
    boolean eq() default true;
    String value() default "";
}
